package com.briup.labs.service;

import com.briup.labs.pojo.PageBean;
import com.briup.labs.pojo.SysRole;
import com.briup.labs.pojo.SysUser;

import java.util.List;

public interface SysUserService {

    //分页查询
    PageBean<SysUser> all(String pageNum, String pageSize);

    //查询所有用户
    List<SysUser> allUser();

    //添加或修改用户
    void saveOrUpdate(SysUser sysUser, SysRole sysRole);

    //删除
    void delete(Integer id);
}
